package com.chat.service;

import com.chat.entry.dto.group.CreateGroupChatDTO;
import com.chat.entry.po.GroupChatInformation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.result.Result;

import java.util.List;

/**
 * <p>
 * 群聊信息表 服务类
 * </p>
 *
 * @author author
 * @since 2025-08-21
 */
public interface IGroupChatInformationService extends IService<GroupChatInformation> {

    Result createGroupChat(CreateGroupChatDTO createGroupChatDTO);

    Result inviteFriendToGroupChat(Integer groupchatId, List<Integer> userIds);

    Result removeGroupChat(Integer groupChatId, Integer userId);

    Result leaveGroupChat(Integer groupChatId, Integer userId);
}
